package com.example.demo;

import com.example.demo.springboot.component.JavamailComponent;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@Slf4j
@RestController
public class DemoApplication {

    @Autowired()
    JavamailComponent javamailComponent;

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}
